package com.puzzletest;

import com.puzzletest.net.Util;

import android.app.Activity;
import android.app.ProgressDialog;
import android.os.Bundle;

public class MoreRecoverActivity extends Activity{

	private final Activity activity = this;
	private ProgressDialog progress;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.act_morerecover);
		
	}
	
	
	/**
	 * 显示载入数据的提示信息
	 */
	private void showProgress() {
		if (progress == null) {
			progress = Util.show_process(activity,
					activity.getString(R.string.loading_data), false);
		}
		progress.show();
	}

	/**
	 * 隐藏载入数据的提示信息
	 */
	private void hiddenProgress() {
		if (progress != null) {
			progress.cancel();
			progress = null;
		}
	}
	
}
